rm -fr ./dist/

if [ ! -d "./dist/" ];then
  mkdir ./dist
else
  rm -rf ./dist/*
fi

cp -r ./src/css ./dist/
cp -r ./src/images ./dist/
cp -r ./src/js ./dist/
cp ./src/index.html ./dist/
cp ./src/main.js ./dist/

#cp -r ./dist ./letter20240403
#scp -r ./dist/* root@118.25.113.57:/data/webapps/lotteryherion/lotteryherion/static
#scp -r ./letter20240403 root@118.25.113.57:/data/webapps/hteam/www/
#rm -rf ./letter20240403
